author = "Albot_crane"


def add(a, b):
    return a + b


def total(*args):
    """
    :param args: 接收一个列表
    :return: a列表中每个元素的平方和
    """
    result = 0
    for i in args:
        result = result + i ** 2
    return result
